﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace Langben.DAL
{
    [MetadataType(typeof(CinerariumAreaMetadata))]//使用CinerariumAreaMetadata对CinerariumArea进行数据验证
    public partial class CinerariumArea : IBaseEntity
    {
      
        #region 自定义属性，即由数据实体扩展的实体
        
        #endregion

    }
    public class CinerariumAreaMetadata
    {
			[ScaffoldColumn(false)]
			[Display(Name = "RowGuid", Order = 1)]
			public object RowGuid { get; set; }

            [ScaffoldColumn(true)]
            [Display(Name = "创建时间", Order = 2)]
            [DataType(System.ComponentModel.DataAnnotations.DataType.DateTime, ErrorMessage = "时间格式不正确")]
			public object CreateTime { get; set; }

			[ScaffoldColumn(true)]
			[Display(Name = "创建人", Order = 3)]
			[StringLength(50, ErrorMessage = "长度不可超过50")]
			public object CreatePerson { get; set; }

			[ScaffoldColumn(true)]
			[Display(Name = "寄存区域名称", Order = 4)]
			[StringLength(200, ErrorMessage = "长度不可超过200")]
			public object Name { get; set; }

            [ScaffoldColumn(true)]
            [Display(Name = "排排序方式", Order = 5)]
            [StringLength(50, ErrorMessage = "长度不可超过50")]
            public object Pai { get; set; }

            [ScaffoldColumn(true)]
            [Display(Name = "号排序方式", Order = 6)]
            [StringLength(50, ErrorMessage = "长度不可超过50")]
            public object Hao { get; set; }


    }


}

